package byf;

import java.lang.reflect.Method;

public class CustomerService {
    private  UserService service;
    public void say() throws Exception{
        Class<?> H = Class.forName("byf.UserService");
        Object o = H.newInstance();
        Method randomString = H.getDeclaredMethod("randomString");
        Object random1 = randomString.invoke(o);
        System.out.println(random1);
}
}
